dk.i1.sctp
Class AssociationId

java.lang.Object
  extended by dk.i1.sctp.AssociationId

public final class AssociationId
extends java.lang.Object

Encapsulates the ID of an association. Association ID are guaranteed to be unique for a SCTPSocket for the lifetime of the association. An association ID may be reused after the association has been shut down. An association ID is not unique across multiple SCTPSockets


Field Summary
static AssociationId default_
          The default association.
 
Method Summary
 boolean equals(java.lang.Object o)
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

default_

public static AssociationId default_
The default association. Only used in special circumstances. It is best to read the SCPT socket API draft for details (Yes, this is the sctp_assoc_t '0')

Method Detail

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object