public abstract class AbstractCredentials extends Object implements Credentials, Portable
Credentials| Constructor and Description | 
|---|
AbstractCredentials()  | 
AbstractCredentials(String principal)  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(Object obj)  | 
String | 
getEndpoint()
Returns IP address of endpoint. 
 | 
String | 
getPrincipal()
Returns principal of endpoint. 
 | 
int | 
hashCode()  | 
void | 
readPortable(PortableReader reader)
Read portable fields using PortableReader 
 | 
protected abstract void | 
readPortableInternal(PortableReader reader)  | 
void | 
setEndpoint(String endpoint)
Sets IP address of endpoint. 
 | 
void | 
setPrincipal(String principal)  | 
void | 
writePortable(PortableWriter writer)
Serialize this portable object using PortableWriter 
 | 
protected abstract void | 
writePortableInternal(PortableWriter writer)  | 
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetClassId, getFactoryIdpublic AbstractCredentials()
public AbstractCredentials(String principal)
public final String getEndpoint()
CredentialsgetEndpoint in interface Credentialspublic final void setEndpoint(String endpoint)
CredentialssetEndpoint in interface Credentialsendpoint - IP address of endpointpublic String getPrincipal()
CredentialsgetPrincipal in interface Credentialspublic void setPrincipal(String principal)
public final void writePortable(PortableWriter writer) throws IOException
PortablewritePortable in interface Portablewriter - PortableWriterIOExceptionpublic final void readPortable(PortableReader reader) throws IOException
PortablereadPortable in interface Portablereader - PortableReaderIOExceptionprotected abstract void writePortableInternal(PortableWriter writer) throws IOException
IOExceptionprotected abstract void readPortableInternal(PortableReader reader) throws IOException
IOExceptionCopyright © 2016 Hazelcast, Inc.. All Rights Reserved.