|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Connection
Represents a Connection to Union. ClientSetup will use this Object when creating the server side LocalClient.
Method Summary | |
---|---|
java.lang.String |
getAddress()
Return the address that will be used to identify this Connection (eg. |
Gateway |
getGateway()
Returns the Gateway to which this Connection connected. |
java.lang.String |
getRefusalDescription()
A string providing information about the condition that led to the refusal. |
java.lang.String |
getRefusalReason()
A string representing the reason for the connection refusal. |
void |
refuse(java.lang.String reason,
java.lang.String description)
Refuse the Connection. |
Method Detail |
---|
Gateway getGateway()
java.lang.String getAddress()
void refuse(java.lang.String reason, java.lang.String description)
reason
- - reason argument is a code that indicates why the client connection was refused (eg. BANNED)description
- - explains the cause of the refusaljava.lang.String getRefusalReason()
java.lang.String getRefusalDescription()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |