Method Summary |
|
abstract public void | close() Closes the message channel. |
public String | getHost() Gets the host of this message channel. |
public HostPort | getHostPort() Gets the hostport structure of this message channel. |
abstract public String | getKey() Generates a key which identifies the message channel. |
public static String | getKey(String inetAddr, int port, String transport) Generates a key given the inet address port and transport. |
public MessageProcessor | getMessageProcessor() Gets the message processor. |
abstract public String | getPeerAddress() Gets the peer address of the machine that sent us this message. |
public HostPort | getPeerHostPort() Gets the peer host and port. |
abstract public int | getPeerPort() Gets the sender port (the port of the other end that sent me
the message). |
public int | getPort() Gets port of this message channel. |
abstract public SIPMessageStack | getSIPStack() Gets the SIPMessageStack object from this message channel. |
abstract public String | getTransport() Gets transport string of this message channel. |
public ViaHeader | getViaHeader() Gets the Via header for this transport. |
abstract public String | getViaHost() Gets the host to assign for an outgoing Request via header. |
public HostPort | getViaHostPort() Gets the via header host:port structure. |
abstract public int | getViaPort() Gets the port to assign for the via header of an outgoing message. |
abstract public void | handleException(SIPServerException ex) Handles an exception. |
abstract public boolean | isReliable() Gets whether this channel is reliable or not. |
abstract public boolean | isSecure() Returns true if this is a secure channel. |
protected void | logMessage(Message sipMessage, String address, int port, long time) Logs a message sent to an address and port via the default interface. |
public void | logResponse(Response sipResponse, long receptionTime, String status) Logs a response received at this message channel. |
abstract public void | sendMessage(Message sipMessage) |
abstract protected void | sendMessage(byte[] message, String receiverAddress, int receiverPort) |
public void | sendMessage(Message sipMessage, String receiverAddress, int receiverPort) Sends a message given SIP message. |