com.hazelcast.client
Class ClientPrincipal

java.lang.Object
  extended by com.hazelcast.client.ClientPrincipal
All Implemented Interfaces:
Portable

public final class ClientPrincipal
extends Object
implements Portable


Constructor Summary
ClientPrincipal()
           
ClientPrincipal(String uuid, String ownerUuid)
           
 
Method Summary
 boolean equals(Object o)
           
 int getClassId()
           
 int getFactoryId()
           
 String getOwnerUuid()
           
 String getUuid()
           
 int hashCode()
           
 void readPortable(PortableReader reader)
           
 String toString()
           
 void writePortable(PortableWriter writer)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ClientPrincipal

public ClientPrincipal()

ClientPrincipal

public ClientPrincipal(String uuid,
                       String ownerUuid)
Method Detail

getUuid

public String getUuid()

getOwnerUuid

public String getOwnerUuid()

getFactoryId

public int getFactoryId()
Specified by:
getFactoryId in interface Portable

getClassId

public int getClassId()
Specified by:
getClassId in interface Portable

writePortable

public void writePortable(PortableWriter writer)
                   throws IOException
Specified by:
writePortable in interface Portable
Throws:
IOException

readPortable

public void readPortable(PortableReader reader)
                  throws IOException
Specified by:
readPortable in interface Portable
Throws:
IOException

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.