public class User
extends java.lang.Object
implements com.gemstone.gemfire.DataSerializable
| Modifier | Constructor and Description |
|---|---|
protected |
User()
Creates an "empty" User whose contents are filled in by
invoking its toData() method
|
|
User(java.lang.String name,
int userId) |
| Modifier and Type | Method and Description |
|---|---|
void |
fromData(java.io.DataInput in) |
void |
toData(java.io.DataOutput out) |
public User(java.lang.String name,
int userId)
protected User()
public void toData(java.io.DataOutput out)
throws java.io.IOException
toData in interface com.gemstone.gemfire.DataSerializablejava.io.IOExceptionpublic void fromData(java.io.DataInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
fromData in interface com.gemstone.gemfire.DataSerializablejava.io.IOExceptionjava.lang.ClassNotFoundExceptionCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.