Package gov.nist.javax.sip.stack

Examples of gov.nist.javax.sip.stack.IOHandler


          try {
            Constructor<IOHandler> ioHandlerCtr = IOHandler.class.getDeclaredConstructor(SIPTransactionStack.class);
            ioHandlerCtr.setAccessible(true);
            Class[] ctrArgs = new Class[] {SIPTransactionStack.class};
            Object[] ctrValues = new Object[] {Shootme.this.protocolObjects.sipStack};
            IOHandler ioHandler = (IOHandler) ioHandlerCtr.newInstance(ctrValues);
           
            Field ioHandlerField = SIPTransactionStack.class.getDeclaredField("ioHandler");
            ioHandlerField.setAccessible(true);           
            ioHandler = (IOHandler) ioHandlerField.get(Shootme.this.protocolObjects.sipStack);
            ioHandler.closeAll();
           
            Request request = requestEvent.getRequest();
                      Response response = protocolObjects.messageFactory.createResponse(180, request);
                      ToHeader toHeader = (ToHeader) response.getHeader(ToHeader.NAME);
                      toHeader.setTag("4321");
View Full Code Here

TOP

Related Classes of gov.nist.javax.sip.stack.IOHandler

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.