forked from External/mage
Moved Mage.Common classes from src to src/main/java
This commit is contained in:
parent
e9d31aa93c
commit
21eb420c16
102 changed files with 0 additions and 0 deletions
|
|
@ -0,0 +1,15 @@
|
|||
package mage.remote.traffic;
|
||||
|
||||
/**
|
||||
* Base interface for class wrapping non compressed objects.
|
||||
* Provides methods for compressing that should be used before sending it over internet and decompressing to get actual
|
||||
* data.
|
||||
*
|
||||
* @author ayrat
|
||||
*/
|
||||
public interface ZippedObject<T> {
|
||||
|
||||
void zip(T object);
|
||||
|
||||
T unzip();
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue