Java程序  |  27行  |  707 B

package javax.sip;

import java.io.Serializable;
import javax.sip.message.Request;

public interface Transaction extends Serializable {
    Object getApplicationData();
    void setApplicationData (Object applicationData);

    String getBranchId();
    Dialog getDialog();
    String getHost();
    String getPeerAddress();
    int getPeerPort();
    int getPort();
    Request getRequest();
    SipProvider getSipProvider();
    TransactionState getState();
    String getTransport();

    int getRetransmitTimer() throws UnsupportedOperationException;
    void setRetransmitTimer(int retransmitTimer)
            throws UnsupportedOperationException;

    void terminate() throws ObjectInUseException;
}