org.jboss.remoting.samples.bisocket
Class BisocketSampleServer

java.lang.Object
  extended by org.jboss.remoting.samples.bisocket.BisocketSampleServer

public class BisocketSampleServer
extends java.lang.Object

This class and org.jboss.remoting.samples.bisocket.BisocketSampleClient demonstrate how to how to make an invocation and how to set up push callbacks over the bisocket transport. The reason for the existance of the bisocket transport, which is derived from the socket transport, is to make it possible to do push callbacks to a client which is unable to create a ServerSocket, either due to security restrictions or due to the fact that it is behind a firewall.

Version:
$Revision: 1.1 $

Copyright May 1, 2008

Author:
Ron Sigal

Field Summary
protected  Connector connector
           
static int port
           
 
Constructor Summary
BisocketSampleServer()
           
 
Method Summary
static void main(java.lang.String[] args)
           
protected  void setupServer(java.lang.String locatorURI)
           
protected  void shutdownServer()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

port

public static int port

connector

protected Connector connector
Constructor Detail

BisocketSampleServer

public BisocketSampleServer()
Method Detail

setupServer

protected void setupServer(java.lang.String locatorURI)
                    throws java.lang.Exception
Throws:
java.lang.Exception

shutdownServer

protected void shutdownServer()
                       throws java.lang.Exception
Throws:
java.lang.Exception

main

public static void main(java.lang.String[] args)


Copyright ? 1998-2005 JBoss Inc . All Rights Reserved.